// 使用Object.create()创建对象

let o1=Object.create({
    x:1,
    y:2
})


/*o1.prototype.toString=function (){
    return this.x+' '+this.y;
}*/

console.log(o1);

let o3=Object.create(Object.prototype)

console.log(o3);

// o3 like {} or new Object()